
import { postRequest, getRequest } from '/@/lib/axios';

export const resourcesApi = {
  // 新建银行信息 @author 善逸
  getTree: (param) => {
    return getRequest('/permissions/resources/tree', param);
  },
  getList: (param) => {
    return getRequest('/permissions/resources/fetch', param);
  },
  add:(param)=>{
    return postRequest('/permissions/resources/add', param)
  },
  delete:(param)=>{
    return getRequest('/permissions/resources/delete',param)
  }
};
